1 Chronicles 28:9

ACV(i) 9 And thou, Solomon my son, know thou the God of thy father, and serve him with a perfect heart and with a willing mind, for LORD searches all hearts, and understands all the imaginations of the thoughts. If thou seek him, he will be found by thee, but if thou forsake him, he will cast thee off forever.